package com.ccit.common.client;

import com.ccit.common.feign.FeignConfiguration;
import com.ccit.model.vo.money.MoneyVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Component
@FeignClient(value = "service-money", configuration = FeignConfiguration.class)
public interface MoneyClient {

    @RequestMapping(value = "/money/apiMoney", method = RequestMethod.POST)
    public boolean apiSaveMoney(@RequestBody MoneyVo moneyVo) ;

}
